package com.ztesoft.web.common.db.dao.mapper;

import com.ztesoft.web.common.db.arg.OperationLogArg;
import com.ztesoft.web.common.db.po.OperationLogPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IOperationLogMapper {
    
    List<Integer> countByArg(OperationLogArg arg);

    List<OperationLogPO> selectByArg(OperationLogArg arg);

    OperationLogPO selectByPrimaryKey(Integer id);

    List<OperationLogPO> selectByArgAndPage(OperationLogArg arg, RowBounds rowBound);

    int insert(OperationLogPO record);

    int insertSelective(OperationLogPO record);

    int insertBatch(@Param("list") List<OperationLogPO> records);

    int updateByArgSelective(@Param("record") OperationLogPO record,
            @Param("arg") OperationLogArg arg);

    int updateByArg(@Param("record") OperationLogPO record,
            @Param("arg") OperationLogArg arg);

    int updateByPrimaryKeySelective(OperationLogPO record);

    int updateByPrimaryKey(OperationLogPO record);
    
    int deleteByArg(OperationLogArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}